/*
 * Copyright (c) 2016-2017 fulihui.com All right reserved
 * Project: information-core-170307
 * File name: ContentVoteRequest.java
 */

package com.fulihui.information.request;

import com.fulihui.information.enums.EVoteType;
import lombok.Getter;
import lombok.Setter;
import org.near.servicesupport.request.PageRequest;

/**
 * @author Willard.Hu on 2017/2/21 0021.
 */
@Setter
@Getter
public class ContentVoteRequest extends PageRequest {
    private static final long serialVersionUID = -2675166348682877137L;
    /** 资讯ID */
    private String contentId;
    /** 用户唯一标识 */
    private String userId;
    /** 投票类型 {@link com.fulihui.information.enums.EVoteType} */
    private String voteType;

    public ContentVoteRequest() {
        voteType = EVoteType.UP.getCode(); // XXX 目前只支持赞，因此无需传参，默认赋值"赞"
    }
}
